#ifndef DEVICEAPP_H
#define DEVICEAPP_H

#include <stdint.h>

typedef struct 
{
    char stime[9];
    uint8_t wifi_connect_state;
    uint8_t oled_init_state;
    uint8_t aht20_init_state;
    uint8_t wifi_connect_flag;
    uint8_t wifi_connect_immediate;
    uint8_t server_connect_flag;
    uint8_t server_connect_immediate;
    uint8_t get_time_falg;

}device_data_t;


typedef struct
{
    uint8_t send_slave_num_flag;
    uint8_t send_power_off_result_flag;
    uint8_t send_power_on_result_flag;
    uint8_t send_relay_state_flag;
    uint8_t send_timing_off_result_flag;
    uint8_t send_timing_on_result_flag;
    uint8_t send_time_off_result_flag;
    uint8_t send_time_on_result_flag;

    uint8_t send_num;
    uint8_t send_slave_num;

} terminal_send_data_t;


#endif